CREATE TABLE [dbo].[TRDOCU_CLIE]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_CLIE] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[CO_DOCU] [varchar] (3) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[NU_COPI] [varchar] (2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[NU_ORIG] [varchar] (2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DE_GLOS] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[CO_USUA_CREA] [varchar] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NULL CONSTRAINT [DF__TRDOCU_CL__CO_US__54A177DD] DEFAULT (suser_sname()),
[FE_USUA_CREA] [datetime] NULL CONSTRAINT [DF__TRDOCU_CL__FE_US__55959C16] DEFAULT (getdate()),
[CO_USUA_MODI] [varchar] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NULL CONSTRAINT [DF__TRDOCU_CL__CO_US__5689C04F] DEFAULT (suser_sname()),
[FE_USUA_MODI] [datetime] NULL CONSTRAINT [DF__TRDOCU_CL__FE_US__577DE488] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TRDOCU_CLIE] ADD CONSTRAINT [PK__TRDOCU_C__5FFC45DA08EB22EA] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_CLIE], [CO_DOCU]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TRDOCU_CLIE] ADD CONSTRAINT [FK__TRDOCU_CL__CO_EM__1D121728] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_TESO] ([CO_EMPR])
GO
